import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    meta: {
      title: "首页",
      keepAlive: false,
      showTabBar: true,
    },
    component: () => import("@/src/views/Home/HomeIndex.vue"),
  },
  {
    path: "/search",
    name: "Search",
    meta: {
      title: "搜索",
      keepAlive: false,
      showTabBar: true,
    },
    component: () => import("@/src/views/Search/SearchIndex.vue"),
  },
];
const router = createRouter({
  history: createWebHashHistory(),
  routes
});
export default router;